package com.lq.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "接收值演示类",description = "请求参数类")
public class DemoDto implements Serializable{

	private static final long serialVersionUID = 2794306804113816896L;
	
	@NotNull
	@ApiModelProperty(value = "defaultStr",example = "mockStrValue")
	private String strDemo;
	
	@ApiModelProperty(value = "长整数",example = "suijishu",required = true)
	private Long longNum;
	
	@ApiModelProperty(value = "小数",example = "111111.111")
	private Double doubleNum;
	
	@ApiModelProperty(value = "日期",example = "2018-12-04 13:08:1")
	private Date date;

	public String getStrDemo() {
		return strDemo;
	}

	public void setStrDemo(String strDemo) {
		this.strDemo = strDemo;
	}

	public Long getLongNum() {
		return longNum;
	}

	public void setLongNum(Long longNum) {
		this.longNum = longNum;
	}

	public Double getDoubleNum() {
		return doubleNum;
	}

	public void setDoubleNum(Double doubleNum) {
		this.doubleNum = doubleNum;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "DemoDto [strDemo=" + strDemo + ", longNum=" + longNum + ", doubleNum=" + doubleNum + ", date=" + date
				+ "]";
	}
	
	
	
}
